/**
 * Created by Spring on 12/12/2017.
 */
({

  init:function(c, e, h){

  },
  loadJS:function(c,e,h){
    //当js加载完成后,实例化一个图表对象存在属性中
    var myChart = echarts.init(document.getElementById('main'));
    c.set("v.myChart", myChart);
    var accIdList = [];
    h.getAccount(c, accIdList);
  },

  getAccList:function(c, e, h){
    //从事件中拿到所有的ID
    var accIdList = e.getParam('accIdList');
    //调用
    h.getAccount(c, accIdList);
  },

  changeSize:function(c, e, h){
    console.log('resize....');
    console.log(c.get("v.sumAmount"));
    //h.rfDashBoard(c, c.get("v.sumAmount"));
  }
})